package us.ajg0702.leaderboards.libs;

import java.util.List;
import java.util.Random;

public class GenUtils {
    public static int randomInt(int min, int max) {
        if (min > max) {
            int temp = min;
            min = max;
            max = temp;
        } else if (min == max) {
            return min;
        }

        Random r = new Random();
        return r.nextInt(max - min + 1) + min;
    }

    public static boolean stringContains(List<String> list, String string) {
        for (String ss : list) {
            if (ss.equalsIgnoreCase(string)) {
                return true;
            }
        }
        return false;
    }
}


*Location:D:\User\Xuan\Downloads\ajLeaderboards-1.3.3.jar\\us\ajg0702\leaderboards\libs\GenUtils.class
 *Java compiler version:8(52.0)
         *JD-Core Version:1.1.3
